package com.uum.admin.service;

import com.uum.admin.pojo.entity.SysPermissionRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.uum.admin.pojo.form.PermissionRoleForm;

import java.util.List;

public interface SysPermissionRoleService extends IService<SysPermissionRole> {


    /**
     * 查看该角色下的菜单有那些权限
     * @param menuId
     * @param roleId
     * @return
     */
    List<Long> listPermIds(Long menuId, Long roleId);

    void saveRolePerms(PermissionRoleForm rolePerms);

}
